

import React from 'react';
// using ES6 modules
import {
  BrowserRouter as Router,
  Route,
  Link
} from 'react-router-dom'
import syncCom from './syncCom/tab'

class AppComponent extends React.Component {
  render() {
    return (
      <Router>
    <div>
      <ul>
        <li><Link to="/">Home</Link></li>
        <li><Link to="/about">About</Link></li>
        <li><Link to="/topics">Topics</Link></li>
      </ul>
      <hr/>
      <Route exact path="/" component={syncCom}/>
    </div>
  </Router>
    );
  }
}
AppComponent.defaultProps = {};

export default AppComponent;
